package cn.edu.zut.cs.Dao;

import cn.edu.zut.cs.Model.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentDao {
    public List<Student> getAllStudents();
    Student getStudent(Student student);
    Student getStudentByNo(int rollNo);
    public Student getStudent(String name);
    public void updateStudent(Student student);
    public void deleteStudent(Student student) ;

    public void addStudent(Student student);
}